<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
	<h2>회원</h2>
	<table border="1" cellspacing="0" width="100%" class="bbs">
	<thead>
		<tr>
			<th align="center" width="100">아이디</th>
			<th>이름</th>
			<th align="center" width="100">전화번호</th>
			<th align="center" width="100">휴대폰</th>
			<th align="center" width="100">등록일</th>
		</tr>
	</thead>
	<tbody>
		<!-- 반복문시작 -->
		<c:forEach items="${list}" var="lists">
		<c:url value="/admin/member_view.action" var="toURL">
			<c:param name="USERID" value="${lists.userid}"/>
			<c:param name="currentPage" value="${currentPage}"/>
		</c:url> 
		<tr>
			<td align="center">${lists.userid}</td>
			<td><a href="${toURL}">${lists.name }</a></td>
			<td align="center">${lists.tel }</td>
			<td align="center">${lists.hp }</td>
			<td align="center">${lists.reg_date }</td>
		</tr>
		</c:forEach>
		<!-- 반복문끝-->
	</tbody>
	<tfoot>
		<tr>
			<td align="center" colspan="5"> ${pagingHtml}</td>
		</tr>
	</tfoot>
	</table>